package com.lanou.userLogin.cart.domin;

import com.lanou.userLogin.book.domain.Book;

public class CartItem {

    private Book book;
    private int count;

    @Override
    public String toString() {
        return "CartItem{" +
                "book=" + book +
                ", count=" + count +
                '}';
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int quantity) {
        this.count = quantity;
    }

}
